// OrderAddressDTO.java
package com.example.demotest.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class OrderAddressDTO {
    private Integer id;
    private Integer orderId;
    private String consigneeName;
    private String consigneePhone;
    private String province;
    private String city;
    private String district;
    private String detailAddress;
    private String postalCode;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime createdAt;
}
